package com.so206.mapper;

import com.so206.po.WxpayConfig;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface WxpayConfigMapper {
    int deleteByPrimaryKey(Long id);

    int insert(WxpayConfig record);

    int insertSelective(WxpayConfig record);

    WxpayConfig selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(WxpayConfig record);

    int updateByPrimaryKey(WxpayConfig record);

    List<WxpayConfig> selectOrderBy();

    List<WxpayConfig> selectByStatusNamePidAppid(@Param("status") Integer status, @Param("name") String name, @Param("mchid") String mchid, @Param("appid") String appid);

}